type BaseResult = {
  code: number
  success: boolean
  message: string
  token: string
}

//& 某个类型就是继承，会拥有父亲型的所有属性
type BaseDataResult<T> = {
  data: T
} & BaseResult

type PageBean = {
  pageSize: number
  pageNumber: number
  pageCount: number
  total: number
}
type PageVO<T> = {
  list: Array<T>
  pageBean: PageBean
}

export type { BaseResult, BaseDataResult, PageBean, PageVO }
